{__NOLAYOUT__}
<layout name='layout2' />
<div class="main">

<div  style=" clear:both;"></div>

<span id="ctl00_xx"></span><a id="p_top"></a>



   <div class="right2"><div id="ctl00_ContentPlaceHolder1_UCleft1_ucdiv1"><div id="ctl00_ContentPlaceHolder1_UCleft1_ucleft6_div_help" class="helptext">

<div class="more"><i class="h_gonggao3">抽奖中奖信息</i></div>

 <ul style=" height:auto;" class="scroller" id="scroller99"> 



   <li><a>会员<span>chenzhigo</span> 使用积分抽奖，<span>抽中号码'7',奖品为'得力24色水彩笔'</span></a></li>



   <li><a>会员<span>chenzhigo</span> 使用积分抽奖，<span>抽中号码'73',奖品为'欧姆龙电子温度计'</span></a></li>



   <li><a>会员<span>朱彦旭</span> 使用积分抽奖，<span>抽中号码'105',奖品为'得力笔筒'</span></a></li>



   <li><a>会员<span>chenzhigo</span> 使用积分抽奖，<span>抽中号码'130',奖品为'得力笔筒'</span></a></li>



   <li><a>会员<span>吕东</span> 使用积分抽奖，<span>抽中号码'124',奖品为'得力笔筒'</span></a></li>



</ul>

<div class="morend"></div>

</div></div>

<div id="ctl00_ContentPlaceHolder1_UCleft1_ucdiv2"></div>

<div id="ctl00_ContentPlaceHolder1_UCleft1_ucdiv3"></div>

<div id="ctl00_ContentPlaceHolder1_UCleft1_ucdiv4"></div>

<div id="ctl00_ContentPlaceHolder1_UCleft1_ucdiv5"></div>

<div id="ctl00_ContentPlaceHolder1_UCleft1_ucdiv6">

<div id="div_userRank" class="helptext">

<div class="more"><i class="h_user">会员积分榜</i></div>

<ul style=" height:auto;" class="ul_two">





<li><a class="a1" href="javascript:void(0)" style="cursor:default">袁***</a><span>5195</span></li>





<li><a class="a2" href="javascript:void(0)" style="cursor:default">赵***</a><span>3084</span></li>





<li><a class="a3" href="javascript:void(0)" style="cursor:default">吴***</a><span>2355</span></li>





<li><a class="a4" href="javascript:void(0)" style="cursor:default">淮安中***</a><span>2315</span></li>





<li><a class="a5" href="javascript:void(0)" style="cursor:default">鲁***</a><span>2290</span></li>





<li><a class="a6" href="javascript:void(0)" style="cursor:default">路***</a><span>2156</span></li>





<li><a class="a7" href="javascript:void(0)" style="cursor:default">曹***</a><span>1928</span></li>





<li><a class="a8" href="javascript:void(0)" style="cursor:default">高***</a><span>1904</span></li>





<li><a class="a9" href="javascript:void(0)" style="cursor:default">黄***</a><span>1852</span></li>





<li><a class="a10" href="javascript:void(0)" style="cursor:default">陈***</a><span>1688</span></li>



</ul>

<div class="morend"></div>

</div></div>

<div id="ctl00_ContentPlaceHolder1_UCleft1_ucdiv7"></div>

















</div>

    <div class="right1">



    <div class="moretext"><a href="/">首页</a>-&gt;积分抽奖<span id="ctl00_ContentPlaceHolder1_bbsztb_nameV21"></span></div>

     <div id="ctl00_ContentPlaceHolder1_div_choujiang" style="min-height:586px;" class="helptext gonggao">

     <div style=" margin-top:30px;">

      <div id="ctl00_ContentPlaceHolder1_div_jf" class="u_zl">

       <p class="ts_z">每次抽奖将扣除<b class="hs">30</b> 积分，您共有<b class="hs">20</b>积分，加油哦，有更多奖品等着您抽</p>

      </div>



      

      </div>



   <div class="u_right">       

    <div class="zj_dd pd_t3">

       <div class="ucon">

       <div class="prize_div_bg" >

       <div style="height:10px; text-align:center;"></div>

        <table id="tb_getprize">

        <tr>

        <td valign="top" style="width:30%">

        <ul id="scroller">

        

         <li><img src='__PUBLIC__/Home/images/20150809185619729_29999.jpg' /></li>

        

         <li><img src='__PUBLIC__/Home/images/20150809185520463_46720.jpg' /></li>

        

         <li><img src='__PUBLIC__/Home/images/20150809185426807_13674.jpg' /></li>

        

         <li><img src='__PUBLIC__/Home/images/20150809185039385_8962.jpg' /></li>

        

         <li><img src='__PUBLIC__/Home/images/20150809184841448_14014.jpg' /></li>

        

         <li><img src='__PUBLIC__/Home/images/20150809184757870_25984.jpg' /></li>

        

        </ul>

        </td>

        

        <td valign="top" style="width:29%">

        <ul id="scroller2" >

        

        <li><img src='__PUBLIC__/Home/images/20150809185619729_29999.jpg' /></li>

        

        <li><img src='__PUBLIC__/Home/images/20150809185520463_46720.jpg' /></li>

        

        <li><img src='__PUBLIC__/Home/images/20150809185426807_13674.jpg' /></li>

        

        <li><img src='__PUBLIC__/Home/images/20150809185039385_8962.jpg' /></li>

        

        <li><img src='__PUBLIC__/Home/images/20150809184841448_14014.jpg' /></li>

        

        <li><img src='__PUBLIC__/Home/images/20150809184757870_25984.jpg' /></li>

        

       </ul>

        </td>

        <td valign="top">

         <ul id="scroller3" >

        

         <li><img src='__PUBLIC__/Home/images/20150809185619729_29999.jpg' /></li>

        

         <li><img src='__PUBLIC__/Home/images/20150809185520463_46720.jpg' /></li>

        

         <li><img src='__PUBLIC__/Home/images/20150809185426807_13674.jpg' /></li>

        

         <li><img src='__PUBLIC__/Home/images/20150809185039385_8962.jpg' /></li>

        

         <li><img src='__PUBLIC__/Home/images/20150809184841448_14014.jpg' /></li>

        

         <li><img src='__PUBLIC__/Home/images/20150809184757870_25984.jpg' /></li>

        

       </ul>

        </td>

        </tr>

        </table> 

         <div style="margin-top:138px; text-align:center;">

           <span class="b_an"><input type="button" onclick="getPize();" id="btOK" style="height:28px;line-height:28px;font-size:14px;" class="button1"  value="开始抽奖"  /></span>

         </div>

       </div>

        </div>

    </div>

     

  </div>

   <script type="text/javascript">

       var zjIMG = ""; var NOzjIMG1 = "<img src='__PUBLIC__/Home/images/20150809185619729_29999.jpg' />"; var NOzjIMG2 = "<img src='__PUBLIC__/Home/images/20150809185520463_46720.jpg' />";

       var i1 = 5; var i2 = 10; var i3 = 15;

       var state = 0;

       function getPize() {

           if (state == 1) {

               alert("正在为您抽奖，请稍等！");

               return;

           }

           zjIMG = "";state = 1;

           $.post("Prizecj.aspx", { cache: false }, function (data) {

               

               if (data == "-1") {

                   alert("请先登录");

                   $("#li_login").click();

                   return;

               }

               else if (data == "-2") {

                   alert("很抱歉，您的积分不够");

                   return;

               }

               else if (data == "0") {

                   zjIMG = "";

               }

               else {

                   zjIMG = data;

               }

               i1 = 0; i2 = 0; i3 = 0;

               simplyScroll1("scroller");

               simplyScroll2("scroller2");

               simplyScroll3("scroller3");

           });

       }



       function simplyScroll1(id) {

           i1 = i1 + 20;

           if (i1 > 500) {

               if (zjIMG == "") {

                   $("#scroller li:eq(0)").html(NOzjIMG1);

               }

               else {

                   $("#scroller li:eq(0)").html(zjIMG);

               }

               return;

           }

           setTimeout("simplyScroll1('" + id + "')", i1);

           Gundong(id);

       }



       function simplyScroll2(id) {

           i2 = i2 + 15;

           if (i2 > 500) {

               if (zjIMG == "") {

                   $("#scroller2 li:eq(0)").html(NOzjIMG2);

               }

               else {

                   $("#scroller2 li:eq(0)").html(zjIMG);

               }

               return;

           }

           setTimeout("simplyScroll2('" + id + "')", i2);

           Gundong(id);

       }







       function simplyScroll3(id) {

           i3 = i3 + 10;

           if (i3 > 500) {

               if (zjIMG != "") {

                   if (zjIMG != "") {

                       $("#scroller3 li:eq(0)").html(zjIMG);

                   }

                   alert("恭喜您，中奖了，这么好运气再来一次吧！");



               }

               else {

                  

                   if ($("#scroller li:eq(0)").html() == $("#scroller3 li:eq(0)").html()) {

                       if ($("#scroller li:eq(0)").html() == NOzjIMG1) {

                           $("#scroller3 li:eq(0)").html(NOzjIMG2);

                       }

                       else {

                           $("#scroller3 li:eq(0)").html(NOzjIMG1);

                       }

                   }

                   alert("很抱歉，没有中奖，继续努力哦！");

               }

               state = 0;

               return;

           }

           setTimeout("simplyScroll3('" + id + "')", i3);

           Gundong(id);

       }



       function Gundong(id) {

           $("#" + id).append("<li>" + $("#" + id + " li:eq(0)").html() + "</li>");

           $("#" + id + " li:eq(0)").remove();

       }

       function login() {

           $("#li_login").click();

       }

     </script> 

     </div>

     </div>



<div style="clear:both;"></div>

</div>

<div class="bottom">

